﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="Region.ascx.cs" Inherits="Pantry.Web.Users.Controls.Region" %>
<asp:UpdatePanel runat="server" ID="UpdatePanel1">
    <Triggers>
        <asp:AsyncPostBackTrigger ControlID="ButtonSave" EventName="Click" />
        <asp:AsyncPostBackTrigger ControlID="ButtonBack" EventName="Click" />
        <asp:AsyncPostBackTrigger ControlID="ButtonMarkInActive" EventName="Click" />
    </Triggers>
    <ContentTemplate>
        <div class="widget_header">
            <div class="top-nav">
                <asp:Button ID="ButtonBack" runat="server" Text="Back" OnClick="ButtonBackClick"
                    CssClass="simple_buttons right_buttons" />
                <asp:Button ID="ButtonSave" runat="server" Text="Save" OnClick="ButtonSaveClick"
                    CssClass="simple_buttons right_buttons" ValidationGroup="submit" />
                    <asp:Button runat="server" ID="ButtonMarkInActive" Text="Mark In-Active" OnClick="ButtonMarkInActiveClick"
                    CssClass="simple_buttons right_buttons" />
            </div>
            <div class="clear">
            </div>
        </div>
        <div class="widget_contents noPadding">
            <div class="form_contents">
                <!--Column 1-->
                <div class="form_enter">
                    <div class="sub_form_left">
                        <div class=" lable_first_input">
                            Nation/Country<span style="color: Red">&nbsp;&nbsp;*</span></div>
                        <asp:DropDownList CssClass="selector" ID="DropDownListCountry" runat="server">
                        </asp:DropDownList>
                    </div>
                    <div class="sub_form_left">
                        <div class=" lable_first_input">
                            Trust Region Name<span style="color: Red">&nbsp;&nbsp;*</span></div>
                        <div class="form_input" id="Div2">
                            <asp:TextBox ID="TextBox1" runat="server" CssClass="simple_field"></asp:TextBox>
                            <asp:HiddenField runat="server" ID="HiddenTrustRegionName" />
                            <asp:RequiredFieldValidator runat="server" ID="RequiredValidator" ControlToValidate="TextBox1"
                                ErrorMessage="You must fill this field!" Display="Dynamic" ValidationGroup="submit" />
                        </div>
                        <div class="clear">
                        </div>
                    </div>
                </div>
                <div class="form_enter">
                    <div class=" lable_first_input">
                        Description</div>
                    <div class="form_input" id="Div4">
                        <asp:TextBox ID="TextBoxDescription" runat="server" CssClass="" Rows="4" TextMode="MultiLine"></asp:TextBox>
                    </div>
                </div>
                <div class="clear">
                </div>
            </div>
        </div>
    </ContentTemplate>
</asp:UpdatePanel>
